import request from "@/utils/request.js";

/**
 * 模具列表
 *
 */
export function mouldList(data) {
  return request.get("api/mouldInformation/getMouldList",data);
}

/**
 * 获取配件信息
 *
 */
export function partDetail(data) {
  return request.get("api/mouldInformation/getPartDetail",data);
}
/**
 * 获取配件信息
 *
 */
export function processDetail(data) {
  return request.get("api/mouldInformation/getProcessDetail",data);
}

/**
 * 销售列表
 *
 */
export function saleList(data) {
  return request.get("api/miniProgram/salesSlip",data);
}

/**
 * 更新销售
 *
 */
export function updateSale(data) {
  return request.post("api/miniProgram/salesSlip/addOrSave",data);
}

